﻿using System;

namespace _017.面向对象
{
	// 顾客类
	class Customer
	{
		public string name;
		public int age;
		public string address;
		public string createTime;

		public Customer()
		{
            Console.WriteLine("我是构造函数");
        }
		public Customer(string name, int age, string address,string createTime)
		{
			this.name = name;
			this.age = age;
			this.address = address;
			this.createTime = createTime;
		}

		public void show()
		{
			Console.WriteLine("名字：" + name);
			Console.WriteLine("年龄：" + age);
			Console.WriteLine("地址：" + address);
			Console.WriteLine("创建时间：" + createTime);
		}
	}
}
